package com.traveldream.utility;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Set;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import javax.persistence.metamodel.Attribute;

import com.traveldream.entities.Booking;
import com.traveldream.entities.Packet;
import com.traveldream.entities.Place;
import com.traveldream.entities.Product;
import com.traveldream.entities.User;

/**
 * Mi serve per testare le query
 */
@Stateless
public class TestQueryBean implements TestQuery {

	// bisogna indicare che si usa la persistenza configurata nel package Common
	@PersistenceContext(unitName="TravelDreamCommon")
	EntityManager em;

	public TestQueryBean() {
        // TODO Auto-generated constructor stub
    }
	
	public List test(String email) {
		return null;
		
	}

	@Override
	public List<String> columns() {
		return null;
	
	}
}
